package com.jf.exam.controller.manage;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 个人主页跳转
 */
@Controller
@RequestMapping("/admin")
public class ManageIndexController {

    /**
     * 跳转到admin 主页
     */
    @RequestMapping("/index")
    public String password(Model model) {
        model.addAttribute("function", 1);
        return "admin/index";
    }
}